package com.email.box.entity.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author lixuan
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "DeleteCommonDTO对象", description = "")
public class DeleteCommonDTO {

    @NotNull(message = "id不能为空")
    @ApiModelProperty(name = "id_list", value = "删除id集")
    @TableId(value = "id_list")
    @JsonProperty("id_list")
    private List<Long> idList;
}
